package controller.drawPanel.Interface;
import model.drawPanel.entitys.Entity;

import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.widgets.Canvas;
import org.eclipse.swt.widgets.Display;

public interface IDrawPanelController {
	  public void setWidth(int width);
	  public void setColor(Color color);
	  public void setTool(int tool);
	  public void setLineStyle(int lineStyle);//SWT.LINESTYLE
	  public void setFill(boolean hasFill);
	  public void undo();
	  public void redo();
	  public void addPanel();//---
	  public void deletePanel(int id);//  
	  public void choosePanle(int id);//
	  public void draw(Display display , GC gc,int width,int height);
	  public void addPicture(String filePath);
	  public void save(String fileName);
	  public void requestAuthority();//申请
	  public void passAuthority(String id);//"0"代表放弃
	  public void setTextInput(StyledText text);
	  public void setCursor(int mouseStatus);//0代表箭头，1代表画笔
	  public void exite();
}
